3.102 \(\int \frac {(a+b x^2)^8}{x^{21}} \, dx\)

Optimal. Leaf size=40 \[ \frac {b \left (a+b x^2\right )^9}{180 a^2 x^{18}}-\frac {\left (a+b x^2\right )^9}{20 a x^{20}} \]

[Out]

-1/20*(b*x^2+a)^9/a/x^20+1/180*b*(b*x^2+a)^9/a^2/x^18

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {266, 45, 37} \[ \frac {b \left (a+b x^2\right )^9}{180 a^2 x^{18}}-\frac {\left (a+b x^2\right )^9}{20 a x^{20}} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*x^2)^8/x^21,x]

[Out]

-(a + b*x^2)^9/(20*a*x^20) + (b*(a + b*x^2)^9)/(180*a^2*x^18)

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n +
1))/((b*c - a*d)*(m + 1)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n + 1
))/((b*c - a*d)*(m + 1)), x] - Dist[(d*Simplify[m + n + 2])/((b*c - a*d)*(m + 1)), Int[(a + b*x)^Simplify[m +
1]*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && ILtQ[Simplify[m + n + 2], 0] &&
 NeQ[m, -1] &&  !(LtQ[m, -1] && LtQ[n, -1] && (EqQ[a, 0] || (NeQ[c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && (
SumSimplerQ[m, 1] ||  !SumSimplerQ[n, 1])

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \frac {\left (a+b x^2\right )^8}{x^{21}} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {(a+b x)^8}{x^{11}} \, dx,x,x^2\right )\\ &=-\frac {\left (a+b x^2\right )^9}{20 a x^{20}}-\frac {b \operatorname {Subst}\left (\int \frac {(a+b x)^8}{x^{10}} \, dx,x,x^2\right )}{20 a}\\ &=-\frac {\left (a+b x^2\right )^9}{20 a x^{20}}+\frac {b \left (a+b x^2\right )^9}{180 a^2 x^{18}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B]  time = 0.00, size = 106, normalized size = 2.65 \[ -\frac {a^8}{20 x^{20}}-\frac {4 a^7 b}{9 x^{18}}-\frac {7 a^6 b^2}{4 x^{16}}-\frac {4 a^5 b^3}{x^{14}}-\frac {35 a^4 b^4}{6 x^{12}}-\frac {28 a^3 b^5}{5 x^{10}}-\frac {7 a^2 b^6}{2 x^8}-\frac {4 a b^7}{3 x^6}-\frac {b^8}{4 x^4} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x^2)^8/x^21,x]

[Out]

-1/20*a^8/x^20 - (4*a^7*b)/(9*x^18) - (7*a^6*b^2)/(4*x^16) - (4*a^5*b^3)/x^14 - (35*a^4*b^4)/(6*x^12) - (28*a^
3*b^5)/(5*x^10) - (7*a^2*b^6)/(2*x^8) - (4*a*b^7)/(3*x^6) - b^8/(4*x^4)

________________________________________________________________________________________

fricas [B]  time = 0.84, size = 92, normalized size = 2.30 \[ -\frac {45 \, b^{8} x^{16} + 240 \, a b^{7} x^{14} + 630 \, a^{2} b^{6} x^{12} + 1008 \, a^{3} b^{5} x^{10} + 1050 \, a^{4} b^{4} x^{8} + 720 \, a^{5} b^{3} x^{6} + 315 \, a^{6} b^{2} x^{4} + 80 \, a^{7} b x^{2} + 9 \, a^{8}}{180 \, x^{20}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)^8/x^21,x, algorithm="fricas")

[Out]

-1/180*(45*b^8*x^16 + 240*a*b^7*x^14 + 630*a^2*b^6*x^12 + 1008*a^3*b^5*x^10 + 1050*a^4*b^4*x^8 + 720*a^5*b^3*x
^6 + 315*a^6*b^2*x^4 + 80*a^7*b*x^2 + 9*a^8)/x^20

________________________________________________________________________________________

giac [B]  time = 1.00, size = 92, normalized size = 2.30 \[ -\frac {45 \, b^{8} x^{16} + 240 \, a b^{7} x^{14} + 630 \, a^{2} b^{6} x^{12} + 1008 \, a^{3} b^{5} x^{10} + 1050 \, a^{4} b^{4} x^{8} + 720 \, a^{5} b^{3} x^{6} + 315 \, a^{6} b^{2} x^{4} + 80 \, a^{7} b x^{2} + 9 \, a^{8}}{180 \, x^{20}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)^8/x^21,x, algorithm="giac")

[Out]

-1/180*(45*b^8*x^16 + 240*a*b^7*x^14 + 630*a^2*b^6*x^12 + 1008*a^3*b^5*x^10 + 1050*a^4*b^4*x^8 + 720*a^5*b^3*x
^6 + 315*a^6*b^2*x^4 + 80*a^7*b*x^2 + 9*a^8)/x^20

________________________________________________________________________________________

maple [B]  time = 0.01, size = 91, normalized size = 2.28 \[ -\frac {b^{8}}{4 x^{4}}-\frac {4 a \,b^{7}}{3 x^{6}}-\frac {7 a^{2} b^{6}}{2 x^{8}}-\frac {28 a^{3} b^{5}}{5 x^{10}}-\frac {35 a^{4} b^{4}}{6 x^{12}}-\frac {4 a^{5} b^{3}}{x^{14}}-\frac {7 a^{6} b^{2}}{4 x^{16}}-\frac {4 a^{7} b}{9 x^{18}}-\frac {a^{8}}{20 x^{20}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^2+a)^8/x^21,x)

[Out]

-7/4*a^6*b^2/x^16-4/3*a*b^7/x^6-1/20*a^8/x^20-1/4*b^8/x^4-28/5*a^3*b^5/x^10-4/9*a^7*b/x^18-35/6*a^4*b^4/x^12-7
/2*a^2*b^6/x^8-4*a^5*b^3/x^14

________________________________________________________________________________________

maxima [B]  time = 1.35, size = 92, normalized size = 2.30 \[ -\frac {45 \, b^{8} x^{16} + 240 \, a b^{7} x^{14} + 630 \, a^{2} b^{6} x^{12} + 1008 \, a^{3} b^{5} x^{10} + 1050 \, a^{4} b^{4} x^{8} + 720 \, a^{5} b^{3} x^{6} + 315 \, a^{6} b^{2} x^{4} + 80 \, a^{7} b x^{2} + 9 \, a^{8}}{180 \, x^{20}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)^8/x^21,x, algorithm="maxima")

[Out]

-1/180*(45*b^8*x^16 + 240*a*b^7*x^14 + 630*a^2*b^6*x^12 + 1008*a^3*b^5*x^10 + 1050*a^4*b^4*x^8 + 720*a^5*b^3*x
^6 + 315*a^6*b^2*x^4 + 80*a^7*b*x^2 + 9*a^8)/x^20

________________________________________________________________________________________

mupad [B]  time = 0.08, size = 92, normalized size = 2.30 \[ -\frac {\frac {a^8}{20}+\frac {4\,a^7\,b\,x^2}{9}+\frac {7\,a^6\,b^2\,x^4}{4}+4\,a^5\,b^3\,x^6+\frac {35\,a^4\,b^4\,x^8}{6}+\frac {28\,a^3\,b^5\,x^{10}}{5}+\frac {7\,a^2\,b^6\,x^{12}}{2}+\frac {4\,a\,b^7\,x^{14}}{3}+\frac {b^8\,x^{16}}{4}}{x^{20}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x^2)^8/x^21,x)

[Out]

-(a^8/20 + (b^8*x^16)/4 + (4*a^7*b*x^2)/9 + (4*a*b^7*x^14)/3 + (7*a^6*b^2*x^4)/4 + 4*a^5*b^3*x^6 + (35*a^4*b^4
*x^8)/6 + (28*a^3*b^5*x^10)/5 + (7*a^2*b^6*x^12)/2)/x^20

________________________________________________________________________________________

sympy [B]  time = 0.94, size = 99, normalized size = 2.48 \[ \frac {- 9 a^{8} - 80 a^{7} b x^{2} - 315 a^{6} b^{2} x^{4} - 720 a^{5} b^{3} x^{6} - 1050 a^{4} b^{4} x^{8} - 1008 a^{3} b^{5} x^{10} - 630 a^{2} b^{6} x^{12} - 240 a b^{7} x^{14} - 45 b^{8} x^{16}}{180 x^{20}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x**2+a)**8/x**21,x)

[Out]

(-9*a**8 - 80*a**7*b*x**2 - 315*a**6*b**2*x**4 - 720*a**5*b**3*x**6 - 1050*a**4*b**4*x**8 - 1008*a**3*b**5*x**
10 - 630*a**2*b**6*x**12 - 240*a*b**7*x**14 - 45*b**8*x**16)/(180*x**20)

________________________________________________________________________________________